package object;

public class Test2 {
	public static void main(String[] args) {
		int i = 10;
		int j = i; // i 的10拷贝一份给j
		j = 20;

		Object obj1 = new Object();
		System.out.println(obj1); //内存地址:15db9742
		
		Object obj2 = obj1; //obj1的值15db9742拷贝一份obj2
		
		
		Object obj3 = new Object(); // 6d06d69c
		System.out.println(obj3);
		
		System.out.println(obj1.equals(obj2));
		System.out.println(obj1.equals(obj3));
		
	}
}
